package cn.elead.chaos.framework.file.exception;

import cn.elead.chaos.framework.web.global.ErrorCodeEnum;

/**
 * 文件名大小限制异常类
 * 
 * @author ruoyi
 */
public class FileSizeLimitExceededException extends FileException {
	private static final long serialVersionUID = 1L;

	public FileSizeLimitExceededException(long defaultMaxSize) {
		super(ErrorCodeEnum.BAD_REQUEST.convert("upload.exceed.maxSize:" + defaultMaxSize));
	}
}
